package cn.user.service;



import cn.user.Dto.ShopRegistrationDto;
import cn.user.Vo.ResultVo;
import cn.user.domin.ShopRegistration;

import java.util.List;

public interface ShopRegistrationService {
    /**
     * 添加
     * @param shopRegistration
     * @return
     */
    int create(ShopRegistration shopRegistration);

    /**
     * 修改
     * @param shopRegistration
     * @return
     */
    int update(ShopRegistration shopRegistration);

    /**
     * 删除
     * @param recId
     * @return
     */
    int delete(String recId);

    /**
     * 分页查询
     * @param ShopRegistrationDto
     * @return
     */
    List<ShopRegistration> list(ShopRegistrationDto ShopRegistrationDto);


    /**
     * 获取token
     * @param dto
     * @return
     */
    ShopRegistration   token(ShopRegistration dto);

    /**
     * 条形码
     * @param barCode
     * @return
     */
    ResultVo ProductInformation(String barCode);
}
